//引入express模块
const express = require('express');
// 创建app应用对象
const app = express();
//引入auth模块
const auth = require('./wechat/auth.js')

app.use(auth());


//监听端口号
app.listen(3000, err => {
    if (!err) {
        console.log('服务器启动成功了~~')
    }
});